package com.itedge.infrastructure.constants;

/**
 * Central place to define all infrastructure related constants which are used across the application.
 * 
 * @author jhe
 *
 */
public class InfrastructureConstants {
	
	/** Constant for undefined messages */
	public static final String UNDEFINED_MESSAGE = "RESOURCE_BUNDLE_ENTRY_NOT_FOUND";
	
	/** Resource bundle key for task deleted message. */
	public static final String TASK_DELETED = "task_deleted";
	
	/** Resource bundle key for task already completed message. */
	public static final String TASK_ALREADY_COMPLETED = "task_already_completed";
	
	/** Resource bundle key for locked or completed task message. */
	public static final String TASK_LOCKED_OR_COMPLETED = "task_locked";
	
	/** Model attribute key for task deleted message. */
	public static final String MODEL_ATTR_TASK_DELETED = "taskDeletedMessage";
	
	/** Session attribute key for information, that request comes from non existing/deleted task redirect. */
	public static final String SESSION_ATTR_FROM_NON_EXISTING_TASK = "fromDeletedTask";
	
	/** Definition of standard ISO date format. */
	public static final String ISO_DATE_FORMAT = "yyyy-MM-dd";
	
	/** Definition of standard ISO date time format. */
	public static final String ISO_DATE_TIME_FORMAT = "yyyy-MM-dd HH:mm:ss";

}
